<?php

if (!defined('EXPONENT')) exit('');

global $db;
// get t2 value, just for fun
$t2=$_GET['t2'];
    /*$sql="SELECT id, name, greek_word, greek_phienam FROM {$db->prefix}gbible_dic ORDER BY id LIMIT 0,100";
            
    $data=$db->selectObjectsBySql($sql);*/
    
    $data=null;
    $max=dicmodule::_getTotalWords();
    $perpage=100;
    
    $pages=$max/$perpage;
    if ($max % $perpage > 0)
    {
        $pages++;
    }
    
    $html=json_encode($data);
    
    echo $html;
?>
